package structure.myHeap;

import java.util.PriorityQueue;

public class test {
    public static void main(String[] args) {
        MyHeap myHeap = new MyHeap();
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        myHeap.createHeap(array);
        myHeap.offer(80);
        System.out.println(myHeap.poll());
        System.out.println(myHeap.poll());

    }
}
